import { defineConfig } from 'vitest/config'

export default defineConfig({
    test: {
        // 测试环境配置
        environment: 'node',
        // 包含的测试文件
        include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
        // 排除的目录
        exclude: ['node_modules', 'dist', '.idea', '.git', '.cache']
    }
}) 